package flymoke.javabase.abstarct;

public class AbstractClassSub extends AbstractClass{

	public String name;
	public void getName() {
		System.out.println("name:abstractclasssub!");
	}
	
	public void setName(){
		this.name="test";
	}
	
	public static void main(String[] args) {
		AbstractClass cla = new AbstractClassSub();
		System.out.println(cla.id);
		cla.getName();
		cla.init();
		System.out.println(cla.id);
	}

}
